<div class="container" [class.enabled]="enabled" [class.highlighted]="highlighted" (click)="toggleState()">
  <div class="indicator left"></div>
  <div class="indicator right"></div>
  <div [class]="'switch ' + (state ? 'on' : 'off')"></div>
</div>